|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.support.AbstractReporter
org.eclipse.vtp.framework.engine.support.AbstractLogger
org.eclipse.vtp.framework.engine.support.AbstractContext
public abstract class AbstractContext
A support implementation of the IContext interface.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.vtp.framework.core.IReporter |
|---|
SEVERITY_DEBUG, SEVERITY_ERROR, SEVERITY_INFO, SEVERITY_WARN |
| Constructor Summary | |
|---|---|
protected |
AbstractContext()
Creates a new AbstractContext. |
| Method Summary | |
|---|---|
java.lang.Object |
lookup(java.lang.String identifier)
Looks up the service selected for the specified identifier or null if no such service exists. |
java.lang.Object[] |
lookupAll(java.lang.String identifier)
Returns an array containing all the services registered under the specified identifier. |
protected java.lang.Object[] |
lookupAllInheritedServices(java.lang.String identifier)
Returns all the services registered under the specified identifier in any ancestor registry or null if no such services can be found. |
protected java.lang.Object[] |
lookupAllLocalServices(java.lang.String identifier)
Returns all the services registered under the specified identifier in this registry or null if no such services can be found. |
protected java.lang.Object |
lookupInheritedService(java.lang.String identifier)
Returns a service registered under the specified identifier in any ancestor registry or null if no such service exists. |
protected java.lang.Object |
lookupLocalService(java.lang.String identifier)
Returns a service registered under the specified identifier in this registry or null if no such service exists. |
protected java.lang.Object |
lookupReservedService(java.lang.String identifier)
Returns the reserved service if the specified identifier is one of the reserved identifiers or null if these conditions are not
met. |
| Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractLogger |
|---|
debug, debug, debug, debug, doLog, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, log, warn, warn, warn, warn |
| Methods inherited from class org.eclipse.vtp.framework.engine.support.AbstractReporter |
|---|
doReport, report, report, report, report |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.vtp.framework.core.ILogger |
|---|
debug, debug, debug, debug, error, error, error, error, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, log, log, log, log, warn, warn, warn, warn |
| Methods inherited from interface org.eclipse.vtp.framework.core.IReporter |
|---|
isSeverityEnabled, report, report, report, report |
| Constructor Detail |
|---|
protected AbstractContext()
| Method Detail |
|---|
protected java.lang.Object lookupReservedService(java.lang.String identifier)
null if these conditions are not
met.
identifier - The identifier of the service to return, will never be
null.
null if these conditions are
not met.protected java.lang.Object lookupLocalService(java.lang.String identifier)
null if no such service exists.
identifier - The identifier of the service to return, will never be
null.
null if no such service exists.protected java.lang.Object[] lookupAllLocalServices(java.lang.String identifier)
null if no such services can be found.
identifier - The identifier of the services to return, will never be
null.
null if no such services can be found.protected java.lang.Object lookupInheritedService(java.lang.String identifier)
null if no such service exists.
identifier - The identifier of the service to return, will never be
null.
null if no such service exists.protected java.lang.Object[] lookupAllInheritedServices(java.lang.String identifier)
null if no such services can be found.
identifier - The identifier of the services to return, will never be
null.
null if no such services can be
found.
public final java.lang.Object lookup(java.lang.String identifier)
throws java.lang.NullPointerException
IContextnull if no such service exists.
lookup in interface IContextidentifier - The identifier of the service to look up.
null if no such service exists.
java.lang.NullPointerException - If the supplied identifier is
null.
public final java.lang.Object[] lookupAll(java.lang.String identifier)
throws java.lang.NullPointerException
IContext
lookupAll in interface IContextidentifier - The identifier of the services to look up.
java.lang.NullPointerException - If the supplied identifier is
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||